package com.nyist.service;

import com.nyist.result.CommonResult;
import com.nyist.service.impl.PayFallbackServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-provider",fallback = PayFallbackServiceImpl.class)
public interface PayService {

    @GetMapping(value = "/paySQL/{id}")
    public CommonResult paySQL(@PathVariable("id") Integer id);

}
